Skip to content

[3.14] gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit ARM kernel (GH-145617)#146464

Merged
vstinner merged 1 commit intopython:3.14from
miss-islington:backport-3a2b81e-3.14
Mar 27, 2026
Merged

[3.14] gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit ARM kernel (GH-145617)#146464
vstinner merged 1 commit intopython:3.14from
miss-islington:backport-3a2b81e-3.14

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Mar 26, 2026

When Python is running on 32-bit ARM Android on a 64-bit ARM kernel, os.uname().machine is armv8l. Such devices run the same userspace code as armv7l devices, so apply the same armeabi_v7a Android ABI to them, which works.
(cherry picked from commit 3a2b81e)

Co-authored-by: Robert Kirkman 31490854+robertkirkman@users.noreply.github.com

… Android on 64-bit ARM kernel (pythonGH-145617)

When Python is running on 32-bit ARM Android on a 64-bit ARM kernel, `os.uname().machine` is `armv8l`. Such devices run the same userspace code as `armv7l` devices, so apply the same `armeabi_v7a` Android ABI to them, which works.
(cherry picked from commit 3a2b81e)

Co-authored-by: Robert Kirkman <31490854+robertkirkman@users.noreply.github.com>
@miss-islington miss-islington requested a review from FFY00 as a code owner March 26, 2026 12:27
@python-cla-bot
Copy link
Copy Markdown

python-cla-bot bot commented Mar 26, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@vstinner
Copy link
Copy Markdown
Member

@robertkirkman: Can you please sign again the CLA? See the comment above.

@robertkirkman
Copy link
Copy Markdown
Contributor

Done.

@vstinner vstinner merged commit 70affe0 into python:3.14 Mar 27, 2026
88 of 90 checks passed
@miss-islington miss-islington deleted the backport-3a2b81e-3.14 branch March 27, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants